package org.jeecg.talentCooperation.fruit.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("nd_field_fruit_tag_rel")
public class FruitFieldTagRel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**主键*/
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 专家id
     */
    private Long fruitId;

    /**
     * 成果关键词
     */
    private String fruitKeyword;

    /**
     * 领域名称
     */
    private String gwFieldName;

    /**
     * 领域关键词
     */
    private String gwFieldKeyword;

    public FruitFieldTagRel(Long fruitId, String fruitKeyword, String gwFieldName, String gwFieldKeyword) {
        this.fruitId = fruitId;
        this.fruitKeyword = fruitKeyword;
        this.gwFieldName = gwFieldName;
        this.gwFieldKeyword = gwFieldKeyword;
    }
}

